package com.tang.pojo;

public class User {
    public User(){

    }
    public User(int id,String name,String password,String email){
        this.id=id;
        this.name=name;
        this.password=password;
        this.email=email;
    }
    private int id;
    private String name;
    private String password;
    private String email;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
   public String toString(){
        return "id:"+id+"\n"+"姓名:"+name+"\n"+"密码:"+password+"\n"+"邮箱:"+email;

   }
}
